﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DesignPatterns.BuilderPattern
{
    class SportsCarManufacturer: IManufacturer
    {
        private Vehicle vehicle = new Vehicle();

        public void BuildBody()
        {
            vehicle.BodySpecification = "Roadster";
        }

        public void AddSeats()
        {
            vehicle.NumberOfSeats = 2;
        }

        public Vehicle GetVehicle()
        {
            return vehicle;
        }
    }
}
